Release 10.1A: OpenEdge Development:
Programming Interfaces
Using shared libraries
Progress lets you access shared libraries by declaring and executing the shared library routines in a manner similar to Progress internal procedures. Thus, to use a shared library routine from within OpenEdge, you must complete the following tasks:
- Declare each routine, including input and output parameter definitions, in a
PROCEDUREstatement.- For each shared library parameter definition, specify the parameter data type that matches the C data type of the corresponding routine parameter.
- For each Progress variable you pass as a routine parameter, ensure that the data type of the variable is compatible with the parameter data type.
- Execute the shared library routine using the
RUNstatement. Pass the specified fields, variables, and any required Windows widget handles.- Build and manage any structures used by the routine.
Progress also allows you to program how long shared libraries remain memory-resident during application execution.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |